<STYLE type="text/css">
	.tableTd {
	   	border-width: 0.5pt; 
		border: solid; 
	}
	.tableTdContent{
		border-width: 0.5pt; 
		border: solid;
	}
	#titles{
		font-weight: bolder;
	}
</STYLE>
<table>
	<tr>
		<td><b><?php __('List of All Applications'); ?></b></td>
	</tr>
	<tr>
		<td><b><?php __('Company:'); ?></b></td>
		<td><b><?php echo $staffs['0']['JobProvider']['name'];?></b></td>
	</tr>
	<tr>
		<td><b><?php __('Date:'); ?></b></td>
		<td><?php echo date("F j, Y, g:i a"); ?></td>
	</tr>
	<tr>
		<td><b><?php __('Number of Applications:'); ?></b></td>
		<td style="text-align:left"><?php echo count($staffs[0]['Staff']); ?></td>
	</tr>
	<tr>
		<td></td>
	</tr>
	<tr  id="titles">
		<td class="tableTd"><?php __('Kanji');?></td>
		<td class="tableTd"><?php __('Furigana');?></td>
		<td class="tableTd"><?php __('Gender');?></td>
		<td class="tableTd"><?php __('Birth Date'); ?> </td>
		<td class="tableTd"><?php __('phone');?></td>
		<td class="tableTd"><?php __('mobile'); ?></td>
		<td class="tableTd"><?php __('Email'); ?></td>
	</tr>
	<?php foreach ($staffs[0]['Staff'] as $jobDetail): ?>
		<tr>
			<td class="tableTd"><?php echo $jobDetail['kanji']; ?>&nbsp;</td>
			<td class="tableTd"><?php echo $jobDetail['furigana']; ?></td>
			<td class="tableTd"><?php echo ($jobDetail['gender'] == 1)?'Male':'Female'; ?>&nbsp;</td>
			<td class="tableTd"><?php echo $jobDetail['birthdate']; ?>&nbsp;</td>
			<td class="tableTd"><?php echo $jobDetail['phone']; ?>&nbsp;</td>
			<td class="tableTd"><?php echo $jobDetail['mobile']; ?>&nbsp;</td>
			<td class="tableTd"><?php echo $jobDetail['pcemail']; ?>&nbsp;</td>
		</tr>
	<?php endforeach; ?>
</table>